﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Eg.Core" namespace="Eg.Core">
    <class name="Parent" table="Parent">
        <id name="Id">
            <generator class ="identity"/>
        </id>
        <one-to-one name="Child" class="Child" cascade="all"/>       
    </class>
</hibernate-mapping> 
